#include "MainWindow.h"

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Gui__MainWindow[] = {

	// content:
	2,       // revision
	0,       // classname
	0,    0, // classinfo
	25,   12, // methods
	0,    0, // properties
	0,    0, // enums/sets
	0,    0, // constructors

	// signals: signature, parameters, type, tag, flags
	17,   16,   16,   16, 0x05,
	29,   16,   16,   16, 0x05,
	58,   16,   16,   16, 0x05,
	86,   16,   16,   16, 0x05,

	// slots: signature, parameters, type, tag, flags
	112,  105,   16,   16, 0x0a,
	137,   16,   16,   16, 0x0a,
	152,   16,   16,   16, 0x0a,
	159,   16,   16,   16, 0x0a,
	169,   16,   16,   16, 0x0a,
	189,   16,   16,   16, 0x0a,
	207,   16,   16,   16, 0x0a,
	228,   16,   16,   16, 0x0a,
	253,   16,   16,   16, 0x0a,
	280,   16,   16,   16, 0x0a,
	292,   16,   16,   16, 0x0a,
	315,   16,   16,   16, 0x0a,
	343,  336,   16,   16, 0x08,
	374,   16,   16,   16, 0x08,
	414,  408,   16,   16, 0x08,
	437,   16,   16,   16, 0x08,
	464,   16,   16,   16, 0x08,
	491,   16,   16,   16, 0x08,
	521,   16,   16,   16, 0x08,
	537,   16,   16,   16, 0x08,
	554,   16,   16,   16, 0x08,

	0        // eod
};

static const char qt_meta_stringdata_Gui__MainWindow[] = {
	"Gui::MainWindow\0\0timeEvent()\0"
	"windowStateChanged(MDIView*)\0"
	"workbenchActivated(QString)\0"
	"mainWindowClosed()\0i,text\0"
	"setPaneText(int,QString)\0arrangeIcons()\0"
	"tile()\0cascade()\0closeActiveWindow()\0"
	"closeAllWindows()\0activateNextWindow()\0"
	"activatePreviousWindow()\0"
	"activateWorkbench(QString)\0whatsThis()\0"
	"switchToTopLevelMode()\0switchToDockedMode()\0"
	"window\0onSetActiveSubWindow(QWidget*)\0"
	"onWindowActivated(QMdiSubWindow*)\0"
	"index\0tabCloseRequested(int)\0"
	"onWindowsMenuAboutToShow()\0"
	"onToolBarMenuAboutToShow()\0"
	"onDockWindowMenuAboutToShow()\0"
	"updateActions()\0showMainWindow()\0"
	"delayedStartup()\0"
};


const QMetaObject MainWindow::staticMetaObject = {
	{ &QMainWindow::staticMetaObject, qt_meta_stringdata_Gui__MainWindow,
	qt_meta_data_Gui__MainWindow, 0 }
};

const QMetaObject *MainWindow::metaObject() const
{
	return &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
 	if (!_clname) return 0;
 	if (!strcmp(_clname, qt_meta_stringdata_Gui__MainWindow))
 		return static_cast<void*>(const_cast< MainWindow*>(this));
 	return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
	_id = QMainWindow::qt_metacall(_c, _id, _a);
	if (_id < 0)
		return _id;
	if (_c == QMetaObject::InvokeMetaMethod) {
		switch (_id) {
		case 0: timeEvent(); break;
		case 1: windowStateChanged((*reinterpret_cast< MDIView*(*)>(_a[1]))); break;
		case 2: workbenchActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
		case 3: mainWindowClosed(); break;
		case 4: setPaneText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
		case 5: arrangeIcons(); break;
		case 6: tile(); break;
		case 7: cascade(); break;
		case 8: closeActiveWindow(); break;
		case 9: closeAllWindows(); break;
		case 10: activateNextWindow(); break;
		case 11: activatePreviousWindow(); break;
		case 12: activateWorkbench((*reinterpret_cast< const QString(*)>(_a[1]))); break;
		case 13: whatsThis(); break;
		case 14: switchToTopLevelMode(); break;
		case 15: switchToDockedMode(); break;
		case 16: onSetActiveSubWindow((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
		case 17: onWindowActivated((*reinterpret_cast< QMdiSubWindow*(*)>(_a[1]))); break;
		case 18: tabCloseRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
		case 19: onWindowsMenuAboutToShow(); break;
		case 20: onToolBarMenuAboutToShow(); break;
		case 21: onDockWindowMenuAboutToShow(); break;
		case 22: updateActions(); break;
		case 23: showMainWindow(); break;
		case 24: delayedStartup(); break;
		default: ;
		}
		_id -= 25;
	}
	return _id;


}



// SIGNAL 0
void MainWindow::timeEvent()
{
	QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
 void  MainWindow::windowStateChanged(MDIView * _t1)
 {
 	void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 	QMetaObject::activate(this, &staticMetaObject, 1, _a);
 }

// SIGNAL 2
void  MainWindow::workbenchActivated(const QString & _t1)
{
	void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
	QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void  MainWindow::mainWindowClosed()
{
	QMetaObject::activate(this, &staticMetaObject, 3, 0);
}
QT_END_MOC_NAMESPACE

